
<g:if test="${dataList.size() > 0}">

    <meta charset="utf-8">
    <table>
        <g:each in="${dataList}" status="i" var="tableData">
            <g:if test="${i==0}">
                <thead>
                <tr>
                    <g:each in="${tableData.keySet()}" status="j" var="data">
                    <g:if test="${data!='RN'}">
                        <th><g:message code="${data}" default="${data}"/></th>
                    </g:if>
                    </g:each>
                </tr>
                </thead>
                <tbody>
            </g:if>
            <tr>
                <g:each in="${tableData.keySet()}" status="j" var="data">

                            <g:if test="${data!='RN'}">
                                <td>${tableData[data]}</td>
                            </g:if>

                </g:each>
            </tr>
        </g:each>
    </tbody>
    </table>
</g:if>
